<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="__VIS__/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="__VIS__/css/font-awesome.min.css"/>
    <link rel="stylesheet" type="text/css" href="__VIS__/css/faxans.css"/>
    <link rel="stylesheet" type="text/css" href="__VIS__/css/vis.css"/>
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <span href="" class="logo">VISPHP</span>
                    <div class="logo-element">VIS
                    </div>
                </li>
                {volist name="menus" id="data"}
                <li {if condition="$data.is_open eq 1"}class="active"{/if}>
                    <a href="#"><i class="fa {$data.icon}"></i> <span class="nav-label">{$data.name}</span><span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        {notempty name="$data.list"}{volist name="$data.list" id="vo"}
                        {notempty name="$vo.list"}
                        <li>
                            <a href="#"><i class="fa {$vo.icon}"></i><span class="nav-label">{$vo.name}</span> <span class="fa arrow"></span></a>
                            <ul class="nav nav-third-level">
                                {volist name="$vo.list" id="co"}
                                <li><a class="Vis_act" href="{$co.url}"><i class="fa {$co.icon}" aria-hidden="true"></i><span class="nav-label">{$co.name}</span></a>
                                </li>
                                {/volist}
                            </ul>
                        </li>
                        {else /}
                        <li><a class="Vis_act" href="{$vo.url}"><i class="fa {$vo.icon}" aria-hidden="true"></i> <span class="nav-label">{$vo.name}</span></a>
                        </li>
                        {/notempty}
                        {/volist}{/notempty}
                    </ul>
                </li>
                {/volist}
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-fox " href="#"><i class="fa fa-bars"></i> </a>
                    <form role="search" class="navbar-form-custom" method="post" action="search_results.html">
                        <div class="form-group">
                            <input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">
                        </div>
                    </form>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li class="dropdown">
                        <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                            <i class="fa fa-bell"></i> <span class="label label-primary">8</span>
                        </a>
                        <ul class="dropdown-menu dropdown-alerts">
                            <li>
                                <a href="mailbox.html">
                                    <div>
                                        <i class="fa fa-envelope fa-fw"></i> 您有16条未读消息
                                        <span class="pull-right text-muted small">4分钟前</span>
                                    </div>
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="profile.html">
                                    <div>
                                        <i class="fa fa-qq fa-fw"></i> 3条新回复
                                        <span class="pull-right text-muted small">12分钟钱</span>
                                    </div>
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <div class="text-center link-block">
                                    <a class="Vis_act" href="notifications.html">
                                        <strong>查看所有 </strong>
                                        <i class="fa fa-angle-right"></i>
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </li>

                    <li class="dropdown">
                        <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                            <div class="admin_info">
                                <img src="{$cookie.thumb|geturl}"  alt="" class="img-circle" />
                                <span>欢迎, {empty name="$cookie.nick"}{$cookie.username}{else /}{$cookie.nick}{/empty}</span>
                                <b class="caret"></b>
                            </div>

                        </a>
                        <ul class="dropdown-menu ">
                            <li>
                                <a class="Vis_act" href="mailbox.html">
                                    修改个人信息
                                </a>
                            </li>
                            <li>
                                <a class="Vis_act" href="mailbox.html">
                                    修改密码
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a class="logout" href="#">
                                    退出登录
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#" class="roll-nav roll-right logout"><i class="fa fa fa-sign-out"></i> 退出</a>
                    </li>

                </ul>
            </nav>
        </div>
        <div class="row content-tabs">
            <button class="roll-nav roll-left Vis_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs Vis_menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active Vis_menuTab" data-id="index_v1.html">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right Vis_tabRight"><i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown Vis_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                </button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="Vis_tabShowActive"><a>定位当前选项卡</a>
                    </li>
                    <li class="divider"></li>
                    <li class="Vis_tabCloseAll"><a>关闭全部选项卡</a>
                    </li>
                    <li class="Vis_tabCloseOther"><a>关闭其他选项卡</a>
                    </li>
                </ul>
            </div>

        </div>
        <div class="row Vis_mainContent" id="content-main">
            <iframe class="Vis_iframe" name="iframe0" width="100%" height="100%" src="main.html" frameborder="0" data-id="index_v1.html" seamless></iframe>
        </div>
        <div class="footer">
            <div class="pull-right">&copy; 2019-2020 <a href="http://www.cgczw.cn/" target="_blank">Powered by visphp! V1.0.3 </a>
            </div>
        </div>
    </div>
    <!--右侧部分结束-->
    <!--右侧边栏开始-->


</div>
<script src="__VIS__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="__VIS__/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="__VIS__/js/Menu.js" type="text/javascript" charset="utf-8"></script>
<script src="__VIS__/js/scroll.js" type="text/javascript" charset="utf-8"></script>
<script src="__VIS__/js/viss.js" type="text/javascript" charset="utf-8"></script>
<script src="__VIS__/js/tabs.js" type="text/javascript" charset="utf-8"></script>
<script src="__VIS__/js/flash.js" type="text/javascript" charset="utf-8"></script>
<script src="__VIS__/js/layer/layer.js"></script>
<script>
    $(function () {
        $('.logout').click(function () {
            layer.confirm('真的要退出?',{icon: 3, title:'提示',anim: 2}, function(index){
                $.ajax({
                    url:"{:url('basic/logout')}"
                    ,success:function(res) {
                        layer.msg(res.msg,{offset: '250px',anim: 4});
                        if(res.code == 1) {
                            setTimeout(function(){
                                window.location.href = res.url;
                            },2000)
                        }
                    }
                })
            })
        })
    })
</script>
</body>
</html>